package com.jsjosem.aftersales.data.response;

import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

public class DepartmentsResponse {

    private boolean selected;
    private List<DepartmentsUserResponse> users = new ArrayList<>();

    public List<DepartmentsUserResponse> getUsers() {
        return users;
    }

    public void setUsers(List<DepartmentsUserResponse> users) {
        this.users = users;
    }

    @SerializedName("code")
    private String mCode;

    @SerializedName("create_time")
    private String mCreateTime;

    @SerializedName("create_user")
    private Long mCreateUser;

    @SerializedName("create_user_name")
    private String mCreateUserName;

    @SerializedName("fullname")
    private String mFullname;

    @SerializedName("id")
    private Integer mId;

    @SerializedName("manager_id")
    private Long mManagerId;

    @SerializedName("mark")
    private Long mMark;

    @SerializedName("name")
    private String mName;

    @SerializedName("note")
    private String mNote;

    @SerializedName("pid")
    private Long mPid;

    @SerializedName("sort")
    private Long mSort;

    @SerializedName("type")
    private Long mType;

    @SerializedName("update_time")
    private String mUpdateTime;

    @SerializedName("update_user")
    private Long mUpdateUser;

    @SerializedName("update_user_name")
    private String mUpdateUserName;

    public String getCode() {
        return mCode;
    }

    public void setCode(String code) {
        mCode = code;
    }

    public String getCreateTime() {
        return mCreateTime;
    }

    public void setCreateTime(String createTime) {
        mCreateTime = createTime;
    }

    public Long getCreateUser() {
        return mCreateUser;
    }

    public void setCreateUser(Long createUser) {
        mCreateUser = createUser;
    }

    public String getCreateUserName() {
        return mCreateUserName;
    }

    public void setCreateUserName(String createUserName) {
        mCreateUserName = createUserName;
    }

    public String getFullname() {
        return mFullname;
    }

    public void setFullname(String fullname) {
        mFullname = fullname;
    }

    public Integer getId() {
        return mId;
    }

    public void setId(Integer id) {
        mId = id;
    }

    public Long getManagerId() {
        return mManagerId;
    }

    public void setManagerId(Long managerId) {
        mManagerId = managerId;
    }

    public Long getMark() {
        return mMark;
    }

    public void setMark(Long mark) {
        mMark = mark;
    }

    public String getName() {
        return mName;
    }

    public void setName(String name) {
        mName = name;
    }

    public String getNote() {
        return mNote;
    }

    public void setNote(String note) {
        mNote = note;
    }

    public Long getPid() {
        return mPid;
    }

    public void setPid(Long pid) {
        mPid = pid;
    }

    public Long getSort() {
        return mSort;
    }

    public void setSort(Long sort) {
        mSort = sort;
    }

    public Long getType() {
        return mType;
    }

    public void setType(Long type) {
        mType = type;
    }

    public String getUpdateTime() {
        return mUpdateTime;
    }

    public void setUpdateTime(String updateTime) {
        mUpdateTime = updateTime;
    }

    public Long getUpdateUser() {
        return mUpdateUser;
    }

    public void setUpdateUser(Long updateUser) {
        mUpdateUser = updateUser;
    }

    public String getUpdateUserName() {
        return mUpdateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        mUpdateUserName = updateUserName;
    }

    public boolean getSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public DepartmentsResponse() {
    }
}
